package com.cf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cf.domain.pojo.Ground;
import org.apache.ibatis.annotations.Select;

/**
 * @Author lzqinga@126.com
 * @Date 2024/11/11  11:05
 */
public interface GroundMapper extends BaseMapper<Ground> {

    @Select("SELECT id, name FROM t_ground WHERE id = #{groundId}")
    Ground getGroundById(Long groundId);
}
